<script type="text/javascript" src="${base}/scripts/kcgl/nbllblcontent.js"></script>
<form id="lldForm" method="post" class="easyui-tabs" fit="true">
    <input id = "lld_blcontent_id" name="lld.id" type="hidden" value="${(lld.id)!''}"/>

    <div title="领料信息" style="height: 100%;overflow-y: auto">
        <table style="width:98%" class="tb tab-t">
            <col width="70px"/>
            <col width=""/>
            <col width="70px"/>
            <col width=""/>
            <col width="70px"/>
            <col width=""/>
            <tr style="height: 20px;"></tr>
            <tr>
                <th>发料公司：</th>
                <td>
                    <input id="lld_flgs_id" name="lld.flgs.id" type="text" class="input-text"
                           value="<#if lld??>${(lld.flgs.id)!}<#else>${(zggsId)!}</#if>"/>
                </td>
                <th>发料部门：</th>
                <td>
                    <input type="hidden" id="lld_flbm"
                           value="<#if lld??>${(lld.flbm.id)!}<#elseif gsId!=zggsId>${(gsId)!}</#if>"/>
                    <input id="lld_flbm_id" name="lld.flbm.id" type="text" class="easyui-combobox input-text"
                           data-options="valueField:'id',textField:'jc'" value=""/>
                </td>
                <th>提货仓库：</th>
                <td>
                    <input id="lld_thck_id" name="lld.thck.id" type="text" value="${(lld.thck.id)!}"
                           required="true" class="input-text"/>
                </td>
            </tr>
            <tr style="height: 20px;"></tr>
            <tr>
                <th>领料公司：</th>
                <td>
                    <input id="lld_llgs_id" name="lld.llgs.id" type="text" class="input-text"
                           value="<#if lld??>${(lld.llgs.id)!}<#else>${(zggsId)!}</#if>"/>
                </td>
                <th>领料部门：</th>
                <td>
                    <input type="hidden" id="lld_llbm"
                           value="<#if lld??>${(lld.llbm.id)!}<#elseif gsId!=zggsId>${(gsId)!}</#if>"/>
                    <input id="lld_llbm_id" name="lld.llbm.id" type="text" class="easyui-combobox input-text"
                           data-options="valueField:'id',textField:'jc'" value=""/>
                </td>
                <th>领&nbsp;料&nbsp;&nbsp;人：</th>
                <td>
                    <input type="hidden" id="lld_llr"
                           value="<#if lld??>${(lld.llr.id)!}<#else>${(yg.id)!}</#if>"/>
                    <input id="lld_llr_id" name="lld.llr.id" type="text" class="easyui-combobox input-text"
                           data-options="valueField:'id',textField:'xm'" value=""/>
                </td>
            </tr>
            <tr style="height: 20px;"></tr>
            <tr>
                <th>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
                <td colspan="5">
                    <textarea name="lld.bz" rows="6" cols="45" class="textarea"
                              style="width: 825px;height: 220px;">${(lld.bz)!}</textarea>
                </td>
            </tr>
        </table>
    </div>
    <div title="领料明细">
        <table id="lld_mx">
        </table>
    </div>

</form>